; padding: 18px 18px 18px 64px; background: #4d5158; box-shadow: inset 0 -1px #555960; color: #ffffff; font-size: 1.6rem;}
JavaScript
If you need to add some nice animated effects to this accordion menu, you can use the main. js file provided in jQuery and the plug-in. At the same time, you need to add the. animate class to the ul. cd-accordion-menu element
This article mainly introduces the Accordion folding panel effect Code implemented by jquery, and uses the jquery mouse click event to operate the page element style dynamic transformation to achieve the Accordion folding effect, which has some reference value, if you need
This is a jqueryhover drawer navigation Image Show hide switch special effect code, you can also customize the corresponding slide title and text description, is a very practical slide special effect source code. Today, we will share a jQuery-based horizontal accordion image carousel focus image special effect source
This article mainly introduces how to implement the accordion menu based on Jquery Code. The Code is simple and easy to understand. For more information, see:
First look at the page code, nesting of the list:
B
C
This article mainly introduces how to implement the accordion menu based on Jquery code. the code is simple and easy to understand. For more information, see:
First look at the page code, nesting of the list:
B
C
This article introduces the sample code for jquery to implement the accordion effect. For more information, see
The Code is as follows:
// Jquery implements the accordion Effect
Accordi
This article introduces the sample code for jquery to implement the accordion effect. For more information, see
The Code is as follows:
// Jquery implements the accordion Effect
Accordi
It took a long time to write the accordion effect using js. Next I will introduce you to the jQuery accordion effect program code.
I believe many people have seen the effect of jQuery accordion. The effect of
Today we are sharing a jquery based horizontal accordion picture Carousel Focus Map Effect source code. Accordion effect is a picture of a cascade together, the mouse over the picture can be expanded to complete the picture, this effect is very common, so the application is also very broad, you can try this
I believe many people have seen the effect of the jquery accordion, jquery accordion effect in the display of Web content better use of the web space, appears unique. Let's take a look at how to achieve the jquery accordion effect
This article mainly introduces the effect of the accordion side menu implemented by jQuery, involving implementation techniques related to jQuery Event Response and element attribute dynamic operations, for more information, see the next article. This article describes the effect of the accordion side menu implemented
The example of this article describes the accordion folding panel effect code implemented by jquery. Share to everyone for your reference. Specifically as follows:
This is a accordion folding panel, Folding menu code, simple accordion
; color: #675C7C;}Ul.nav ul ul Li a {color:silver; padding-left:40px;}Ul.nav ul ul Li a:hover {background-color: #D3CEB8; color: #675C7C;}Ul.nav Span{float:right;}
Jquery
Call the accordion plug-in, set the related properties, a beautiful accordion effect is complete.
The code is as follows
Based on the jquery multi-level accordion is a beautified multi-level accordion effect code of multiple layers. The effect chart is as follows:
Online preview Source Download
HTML code:
'). Slidetoggle ();
});
$ (". Childrenli"). Click (Function (event) {
event.stoppropagation ();
$ (". Childrenli"). Removeclass (' Selectedchildrenmenu ');
$ (". Parentli"). Removeclass (' Selectedparentmenu ');
$ (this). Parents (". Parentli"). AddClass (' Selectedparentmenu ');
$ (this). addclass (' Selectedchildrenmenu ');
});
It should be noted that the list nesting, will cause event bubbling, so in the click of the submenu event to organize Bubbles, event.sto
The effect is as follows
Instance Code
The code is as follows
Copy Code
. demo {width:980px;margin:0px Auto;}. demo H1 {margin:33px 0 25px;}. demo H3 {margin:10px 0;}Pre {Background: #fff;}@media only screen and (max-width:780px) {. demo {margin:5%;width:90%;}. how-use {Float:left;width:300px;Display:none;}}#tabInfo {Display:none;}
The interface components are finally starting! Take the accordion control today, because its implementation is relatively simple. Haha
Preliminary Design:
It is not difficult to find out by observing, ACCordion generally adopts the following layout:
title
content 1
Content 2...................
Based on the above, we will soon get our Co
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.